package com.woniuxy.common.enums;

public interface RabbitEnum {
    //正常队列
    public static final String NORMAL_QUEUE = "NORMAL_QUEUE";
    //正常交换机
    public static final String NORMAL_EXCHANGE = "NORMAL_EXCHANGE";
    //死信交换机
    public static final String DEAD_EXCHANGE = "DEAD_EXCHANGE";
    //死信队列
    public static final String DEAD_QUEUE = "DEAD_QUEUE";
    //正常队列路由
    public static final String NORMAL_ROUTING_KEY = "NORMAL_ROUTING_KEY";
    //死信队列路由
    public static final String DEAD_ROUTING_KEY = "DEAD_ROUTING_KEY";

    /**
     * 订单队列+交换机
     */
    public static final String ORDER_NORMAL_EXCHANGE = "order_normal_exchange" ;
    public static final String ORDER_DEAD_EXCHANGE = "order_dead_exchange";
    public static final String ORDER_NORMAL_QUEUE = "order_normal_queue";
    public static final String ORDER_DEAD_QUEUE = "order_dead_queue";
    public static final String ORDER_NORMAL_ROUTING_KEY = "order_normal_routing_key" ;
    public static final String ORDER_DEAD_ROUTING_KEY = "order_dead_routing_key" ;
}
